﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebPlatform.Models
{
    public class ArticleVM
    {
        public int ContentId { get; set; }
        public string PartitionId { get; set; }
        public int CompanyID { get; set; }

        [DisplayName("标题")]
        [StringLength(100, ErrorMessage = "标题 不超过100个字符")]
        [Required(ErrorMessage = "标题 必填（100个字符以内）")]
        public string Title { get; set; }
        public int AdminUserId { get; set; }
        public string AdminUserName { get; set; }
        public string ReleaseDate { get; set; }
        public string ImgUrl { get; set; }
        public string Content { get; set; }
        public string Numbers { get; set; }
        
    }
}